import 'package:json_annotation/json_annotation.dart';

@JsonSerializable()
class QueryStudentBean {
  String studentId;
  String stunum;
  String inscode;
  String companyId;
  String name;
  String personNum;
  String cartype;
  String photoId;
  String pic;
  String signMsg;
  String remark;
  String faceId;
  String fingerprint;
  String forbiddenTime;
  String learningTime;
  String isCheckLive;
  String allTime1;
  String allTime2;
  String allTime3;
  String allTime4;
  String learnTime1;
  String learnTime2;
  String learnTime3;
  String learnTime4;
  String k2Xslcs;
  String k3Xslcs;
  String learnTime;
  String checkStatusP1;
  String checkStatusP2;
  String checkStatusP3;
  String checkStatusP4;

  QueryStudentBean(
      {this.studentId,
        this.stunum,
        this.inscode,
        this.companyId,
        this.name,
        this.personNum,
        this.cartype,
        this.photoId,
        this.pic,
        this.signMsg,
        this.remark,
        this.faceId,
        this.fingerprint,
        this.forbiddenTime,
        this.learningTime,
        this.isCheckLive,
        this.allTime1,
        this.allTime2,
        this.allTime3,
        this.allTime4,
        this.learnTime1,
        this.learnTime2,
        this.learnTime3,
        this.learnTime4,
        this.k2Xslcs,
        this.k3Xslcs,
        this.learnTime,
        this.checkStatusP1,
        this.checkStatusP2,
        this.checkStatusP3,
        this.checkStatusP4});

  QueryStudentBean.fromJson(Map<String, dynamic> json) {
    studentId = json['studentId'];
    stunum = json['stunum'];
    inscode = json['inscode'];
    companyId = json['companyId'];
    name = json['name'];
    personNum = json['personNum'];
    cartype = json['cartype'];
    photoId = json['photoId'];
    pic = json['pic'];
    signMsg = json['signMsg'];
    remark = json['remark'];
    faceId = json['faceId'];
    fingerprint = json['fingerprint'];
    forbiddenTime = json['forbiddenTime'];
    learningTime = json['LearningTime'];
    isCheckLive = json['isCheckLive'];
    allTime1 = json['allTime1'];
    allTime2 = json['allTime2'];
    allTime3 = json['allTime3'];
    allTime4 = json['allTime4'];
    learnTime1 = json['learnTime1'];
    learnTime2 = json['learnTime2'];
    learnTime3 = json['learnTime3'];
    learnTime4 = json['learnTime4'];
    k2Xslcs = json['k2Xslcs'];
    k3Xslcs = json['k3Xslcs'];
    learnTime = json['learnTime'];
    checkStatusP1 = json['checkStatusP1'];
    checkStatusP2 = json['checkStatusP2'];
    checkStatusP3 = json['checkStatusP3'];
    checkStatusP4 = json['checkStatusP4'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['studentId'] = this.studentId;
    data['stunum'] = this.stunum;
    data['inscode'] = this.inscode;
    data['companyId'] = this.companyId;
    data['name'] = this.name;
    data['personNum'] = this.personNum;
    data['cartype'] = this.cartype;
    data['photoId'] = this.photoId;
    data['pic'] = this.pic;
    data['signMsg'] = this.signMsg;
    data['remark'] = this.remark;
    data['faceId'] = this.faceId;
    data['fingerprint'] = this.fingerprint;
    data['forbiddenTime'] = this.forbiddenTime;
    data['LearningTime'] = this.learningTime;
    data['isCheckLive'] = this.isCheckLive;
    data['allTime1'] = this.allTime1;
    data['allTime2'] = this.allTime2;
    data['allTime3'] = this.allTime3;
    data['allTime4'] = this.allTime4;
    data['learnTime1'] = this.learnTime1;
    data['learnTime2'] = this.learnTime2;
    data['learnTime3'] = this.learnTime3;
    data['learnTime4'] = this.learnTime4;
    data['k2Xslcs'] = this.k2Xslcs;
    data['k3Xslcs'] = this.k3Xslcs;
    data['learnTime'] = this.learnTime;
    data['checkStatusP1'] = this.checkStatusP1;
    data['checkStatusP2'] = this.checkStatusP2;
    data['checkStatusP3'] = this.checkStatusP3;
    data['checkStatusP4'] = this.checkStatusP4;
    return data;
  }
}